package com.xuecheng.content.agent.fallback;

import com.xuecheng.api.media.model.dto.MediaDTO;
import com.xuecheng.common.domain.code.CommonErrorCode;
import com.xuecheng.common.domain.response.RestResponse;
import com.xuecheng.content.agent.MediaApiAgent;
import org.springframework.stereotype.Component;

/**
 * <p></p>
 *
 * @Description:
 */
@Component
public class MediaApiAgentFallback implements MediaApiAgent {

    @Override
    public RestResponse<MediaDTO> getMediaById4s(Long mediaId) {
        return RestResponse.validfail(CommonErrorCode.E_999982);
    }
}
